//
// Calc.hh for calc 206 in /home/druart_p/Work/math/my-math-epi/206
//
// Made by pierrick druart
// Login   <druart_p@epitech.net>
//
// Started on  Wed May  9 14:47:04 2012 pierrick druart
// Last update Fri Jun  8 17:07:15 2012 pierrick druart
//

#ifndef		__CALC__
#define		__CALC__

#include	<iostream>
#include	<list>
#include	<fstream>
#include	<sstream>
#include	<iomanip>
#include	<fstream>
#include	<cmath>

class		Calc
{
private:
  std::string	_fileName;
  std::list<int> _value;
  int		_individu;
  int		_n;

public:
  Calc(const std::string & file, const std::string n);
  ~Calc();

private:
  void		getValueFromFile(const std::string & file);
  void		print();

private:
  double       	fact(int i);
  double       	moyennePopulation();
  double       	echantillon();
  double	ecartType();
};

#endif		/* __CALC__ */
